oxenstored: log Errors and Warnings by default.
authorIan Campbell <ian.campbell@citrix.com>
Fri, 9 Dec 2011 16:19:36 +0000 (16:19 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 9 Dec 2011 16:19:36 +0000 (16:19 +0000)
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson.citrix.com>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
tools/ocaml/xenstored/logging.ml

index ec2f081154c6c876ec4e19373fabab24b42f7dba..84d7c82cbae359fe5b29ca09eca6f518f8f7e079 100644 (file)
@@ -105,7 +105,7 @@ let string_of_date () =
                (int_of_float (1000.0 *. msec))
 
 let xenstored_log_file = ref "/var/log/xenstored.log"
-let xenstored_log_level = ref Null
+let xenstored_log_level = ref Warn
 let xenstored_log_nb_files = ref 10
 let xenstored_log_nb_lines = ref 13215
 let xenstored_log_nb_chars = ref (-1)